#include "TimeDivisionedCore.h"

CTimeDivisionedCore::CTimeDivisionedCore(void)
{
}

CTimeDivisionedCore::~CTimeDivisionedCore(void)
{
}

virtual void CTimeDivisionedCore::run(void){
while(1){
	EU->exec(data_aspace[TP],prog_aspace[TP]);

	
	TP++; // goto next task
	if (TP==SIMUL_TASKS) TP=0;
}//while
}